<?php
defined('IN_HRLOO') or exit('Access Denied');


/**
 * 异常基类
 * @author root
 *
 */
class fx_exception extends Exception{
	public $data;

	/**
	 * @param string $message 异常消息
	 * @param string|int $code 代码
	 * @param mixed $data 异常数据
	 */
	public function __construct($message, $code = 0, $data=null) {
		parent::__construct($message, $code);
		$this->data = $data;
	}
}